package com.itheima.service;

import com.itheima.dto.MediaMaterialDto;
import com.itheima.vo.MediaMaterialVo;
import com.itheima.vo.PagingQueryVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author :wujunjie
 * createTime :2023-01-02 20:37
 * description :
 */
public interface MaterialService {
    MediaMaterialVo uploadPicture(MultipartFile file) throws IOException;

    PagingQueryVo<MediaMaterialVo> selectPage(MediaMaterialDto dto);



    Boolean cancelCollection(Long id);

    Boolean collect(Long id);

    Boolean deletePicture(Long id);
}
